import request from '@/utils/request'

// 创建混合云支撑-混合云客户授权业务授权
export function createHbcClientAuthFunctionAuth(data) {
  return request({
    url: '/hbcsupport/hbc-client-auth-function-auth/create',
    method: 'post',
    data: data
  })
}

// 更新混合云支撑-混合云客户授权业务授权
export function updateHbcClientAuthFunctionAuth(data) {
  return request({
    url: '/hbcsupport/hbc-client-auth-function-auth/update',
    method: 'post',
    data: data
  })
}

// 删除混合云支撑-混合云客户授权业务授权
export function deleteHbcClientAuthFunctionAuth(id) {
  return request({
    url: '/hbcsupport/hbc-client-auth-function-auth/delete?id=' + id,
    method: 'get'
  })
}

// 获得混合云支撑-混合云客户授权业务授权
export function getHbcClientAuthFunctionAuth(id) {
  return request({
    url: '/hbcsupport/hbc-client-auth-function-auth/get?id=' + id,
    method: 'get'
  })
}

// 获得混合云支撑-混合云客户授权业务授权分页
export function getHbcClientAuthFunctionAuthPage(query) {
  return request({
    url: '/hbcsupport/hbc-client-auth-function-auth/page',
    method: 'get',
    params: query
  })
}

// 导出混合云支撑-混合云客户授权业务授权 Excel
export function exportHbcClientAuthFunctionAuthExcel(query) {
  return request({
    url: '/hbcsupport/hbc-client-auth-function-auth/export-excel',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}

// 创建或更新混合云支撑-混合云客户授权业务授权(批量)
export function createOrUpdateHbcClientAuthFunctionAuthBatch(data) {
  return request({
    url: '/hbcsupport/hbc-client-auth-function-auth/create-or-update-batch',
    method: 'post',
    data: data
  })
}
